/**
 * 评论踩相关接口
 */
import request from '@/config/request'

/**
 * 踩评论
 */
export const saveCommentDislike = (commentId: number) => {
  return request.post({ url: '/platform/video/comment/dislike/save', params: { commentId } })
}

/**
 * 取消踩评论
 */
export const cancelCommentDislike = (commentId: number) => {
  return request.delete({ url: '/platform/video/comment/dislike/cancel', params: { commentId } })
}
